package nameless.aistudy.domain.model.subjects.english.reading.article;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("subject_english_article")
public class ArticlePO {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String title;

    @TableField("content")
    private String content;

    @TableField("view_count")
    private Integer viewCount;

    private String source;

    @TableField("is_public")
    private Boolean isPublic;

    @TableField("is_deleted")
    private Boolean isDeleted;

    @TableField("created_at")
    private LocalDateTime createdAt;

    @TableField("updated_at")
    private LocalDateTime updatedAt;
}
